//
//  GoodDetailModel.h
//  B2C
//
//  Created by xiaowu on 2017/8/4.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GoodAttributeModel.h"
#import "ImageUrlModel.h"
#import "GoodsPriceTaidModel.h"
#import "GoodsAttributePriceModel.h"

@interface GoodDetailGtotsModel : NSObject

@property (nonatomic, copy) NSString *gtdescribe;
@property (nonatomic, copy) NSString *gtname;

@end

@interface GoodDetailModel : NSObject

@property (nonatomic, copy) NSString *gid;

@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *oldprice;
@property (nonatomic, copy) NSString *gtcid;
@property (nonatomic, copy) NSString *gnumber;
@property (nonatomic, copy) NSString *gname;
@property (nonatomic, copy) NSString *gextension;
@property (nonatomic, copy) NSString *createtime;
@property (nonatomic, copy) NSString *gdetails;
@property (nonatomic, copy) NSString *gbarcode;
@property (nonatomic, copy) NSString *gimg;
@property (nonatomic, copy) NSString *ghomeimg;
@property (nonatomic, copy) NSString *gastock;
@property (nonatomic, copy) NSString *escore;
@property (nonatomic, copy) NSString *shopcartcount;
@property (nonatomic, assign) BOOL iscollection;
@property (nonatomic, strong) NSArray <ImageUrlModel *> *imgs;
@property (nonatomic, strong) NSArray <GoodDetailGtotsModel *> *gtots;


@property (nonatomic, strong) NSArray <GoodAttributeModel *> *attribute; // 原始属性
@property (nonatomic, strong) NSArray <GoodsAttributePriceModel *> *goodsattribute;  // 价格 对应属性
@property (nonatomic, strong) NSArray <GoodsPriceTaidModel *> *goodspricetaid; // 一个属性下面可以存在的属性

- (NSArray *)getImgsUrl;
- (NSArray *)getGtotsStr;

@end
